package com.ufun.financegateway.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author BlendLiu
 * @date 2021/4/21 9:47
 */
@Data
public class PayStatusResponseDto {

    @ApiModelProperty(value = "固定为`1.0`")
    @NotBlank(message = "版本不能为空")
    private String version;

    @ApiModelProperty(value = "签名")
    @NotBlank(message = "签名不能为空")
    private String sign;

    @ApiModelProperty(value = "固定为`SHA-256`")
    @NotBlank(message = "算法不能为空")
    private String signType;

    @ApiModelProperty(value = "参数编码")
    @NotBlank(message = "参数编码不能为空")
    private String charset;

    @ApiModelProperty(value = "返回数据")
    @NotBlank(message = "返回数据不能为空")
    private PayStatusResponseDataDto rspData;

}
